package com.tiancan.design.gateway.service;

import com.tiancan.design.gateway.bean.Result;
import org.springframework.stereotype.Component;

/** @author tiancan */
@Component
public class TokenServiceFeignFallBack implements TokenServiceFeignClient {
  @Override
  public Result<String> info(String token) {
    Result<String> result = new Result<>();
    result.setResult(false);
    result.setRes("系统超时,请稍后再试");
    return result;
  }
}
